
import request from '@/router/axios'

export function fetchList (query) {
  return request({
    url: '/admin/activity/list',
    method: 'get',
    params: query
  })
}

export function putObj(query) {
  return request({
    url: "/admin/activity/put",
    method: "post",
    data: query
  });
}


export function delObj (id) {
  return request({
    url: '/admin/activity/del',
    method: 'get',
    params: {id: id}
  })
}

